package framelib.common;

import java.util.ArrayList;
import java.util.List;

import sharewithus.business.dto.UserParamDTO;


/**
 * Title:SessionData
 * Description:
 * @Create_by:Vince Yu
 * @Create_date:2012-5-4
 * @Last_Edit_By:
 * @Edit_Description
 * @version:partynano 1.0
 * 
 */
@SuppressWarnings("serial")
public class SessionData implements java.io.Serializable {

	//paramName,lableName,extValue,permission,indexNo,type,flag
	private int id;
	private String nickName;
	private String email;
	private String avatar;
	private String passStrength;
	private String securityEmail;
	private String lastLoginIp;
	private String lastLoginTime;
	private String currentLoginIp;
	private String currentLoginTime;
	//sex,province,city,county,birthday
	//与ExtValue.properties顺序相同,也就是与保存顺序相同
	private List<UserParamDTO> userParams = new ArrayList<UserParamDTO>();
	/**
     * @return Returns the currentLoginIp.
     */
    public String getCurrentLoginIp() {
    	return currentLoginIp;
    }
	/**
     * @param currentLoginIp The currentLoginIp to set.
     */
    public void setCurrentLoginIp(String currentLoginIp) {
    	this.currentLoginIp = currentLoginIp;
    }
	/**
     * @return Returns the currentLoginTime.
     */
    public String getCurrentLoginTime() {
    	return currentLoginTime;
    }
	/**
     * @param currentLoginTime The currentLoginTime to set.
     */
    public void setCurrentLoginTime(String currentLoginTime) {
    	this.currentLoginTime = currentLoginTime;
    }
	/**
     * @return Returns the passStrength.
     */
    public String getPassStrength() {
    	return passStrength;
    }
	/**
     * @param passStrength The passStrength to set.
     */
    public void setPassStrength(String passStrength) {
    	this.passStrength = passStrength;
    }
	/**
     * @return Returns the securityEmail.
     */
    public String getSecurityEmail() {
    	return securityEmail;
    }
	/**
     * @param securityEmail The securityEmail to set.
     */
    public void setSecurityEmail(String securityEmail) {
    	this.securityEmail = securityEmail;
    }
	/**
     * @return Returns the lastLoginIp.
     */
    public String getLastLoginIp() {
    	return lastLoginIp;
    }
	/**
     * @param lastLoginIp The lastLoginIp to set.
     */
    public void setLastLoginIp(String lastLoginIp) {
    	this.lastLoginIp = lastLoginIp;
    }
	/**
     * @return Returns the lastLoginTime.
     */
    public String getLastLoginTime() {
    	return lastLoginTime;
    }
	/**
     * @param lastLoginTime The lastLoginTime to set.
     */
    public void setLastLoginTime(String lastLoginTime) {
    	this.lastLoginTime = lastLoginTime;
    }
	/**
     * @return Returns the avatar.
     */
    public String getAvatar() {
    	return avatar;
    }
	/**
     * @param avatar The avatar to set.
     */
    public void setAvatar(String avatar) {
    	this.avatar = avatar;
    }
	/**
     * @return Returns the id.
     */
    public int getId() {
    	return id;
    }
	/**
     * @param id The id to set.
     */
    public void setId(int id) {
    	this.id = id;
    }
	/**
     * @return Returns the nickName.
     */
    public String getNickName() {
    	return nickName;
    }
	/**
     * @param nickName The nickName to set.
     */
    public void setNickName(String nickName) {
    	this.nickName = nickName;
    }
	/**
     * @return Returns the email.
     */
    public String getEmail() {
    	return email;
    }
	/**
     * @param email The email to set.
     */
    public void setEmail(String email) {
    	this.email = email;
    }
	/**
     * @return Returns the userParams.
     */
    public List<UserParamDTO> getUserParams() {
    	return userParams;
    }
	/**
     * @param userParams The userParams to set.
     */
    public void setUserParams(List<UserParamDTO> userParams) {
    	this.userParams = userParams;
    }
	
}
